<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
<meta charset="utf-8" />
<title>${session.SOFT_NAME }_智能办公系统</title>
<meta name="description" content="Dashboard" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%include("../../../resapi/style.html"){}%>
<link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
<link rel="stylesheet" href="/module/bootstrap-table/bootstrap-editable.css" type="text/css">
<link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css" />
<style type="text/css">
.table>tbody>tr>td {
	vertical-align: middle;
}
.dropdown-menu>li
{
padding: 3px 20px;
}
</style>
</head>
<body style="overflow-y: auto;">
	<div class="page-body" style="padding: 4px 0px 0px 0px">
		<div class="main-container container-fluid">
			<div class="page-container">
				<div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
					<div class="tabbable">
						<ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
							<li class=""><a href="/app/core/crm/quotation" aria-expanded="false">报价管理 </a></li>
							<li class="active"><a href="/app/core/crm/quotation?view=input" aria-expanded="true">创建报价</a></li>
						</ul>
						<div class="tab-content tabs-flat" style="padding-top: 0px;">
							<div class="row">
								<div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" style="padding: 0px">
									<form class="form-horizontal">
										<table class="table table-hover table-striped table-bordered">
										<tr>
												<td width="20%">报价标题：</td>
												<td width="80%" colspan="3"><input placeholder="报价标题" type="text" name="title" id="title" maxlength="100" class="form-control"></td>
											</tr>
											<tr>
												<td width="20%">报价单号：</td>
												<td width="30%"><input placeholder="报价单号" type="text" name="quotationCode" id="quotationCode" value="${code}" maxlength="50" class="form-control"></td>
												<td width="20%">关联询价单：</td>
												<td>
												<select id="inquiryId" name="inquiryId" class="form-control"></select>
												</td>
											</tr>
											<tr>
												<td width="20%">税费：</td>
												<td width="30%"><input placeholder="税费" type="number" name="tax" id="tax" maxlength="20" value="" class="form-control"></td>
												<td width="20%">总价：</td>
												<td width="30%"><input placeholder="总价" type="text" name="totalPrice" id="totalPrice" class="form-control"></td>
											</tr>
											<tr>
												<td width="20%">截止日期：</td>
												<td width="30%"><input placeholder="截止日期" type="text" name="colsingTime" id="colsingTime" class="form-control"></td>
												<td width="20%">审批人：</td>
												<td width="30%">
												<select name="approvedUser" id="approvedUser" class="form-control">
												</select>
												</td>
											</tr>
											<tr>
												<td colspan="4">产品明细：</td>
											</tr>
											<tr>
												<td colspan="4">
												<div class="buttons-preview" id="toobar">
													<a href="javascript:void(0);addRow();" class="btn btn-azure">添加产品</a>
												</div>
												<table id="myTable"></table>
												</td>
											</tr>
											<tr>
												<td width="20%">相关附件：</td>
												<td width="80%" colspan="3">
													<div id="show_crmattach"></div> <a class="addfile" href="javascript:void(0)">附件上传 <input data_value="" type="file" onchange="fileUpLoad('crm','crmattach');" hidefocus="true"
														maxlength="1" id="crmattach" name="crmattach" class="addfile" multiple="multiple"></a> <a class="addfile" style="width: 200px;" href="#" op_id="crmattach"
													onclick="selectattach(this,'true')">选择网络文件</a>
												</td>
											</tr>
											<tr>
												<td colspan="4">备注:</td>
											</tr>
											<tr>
												<td colspan="4">
													<div id="remark" name="remark"></div>
												</td>
											</tr>
											<tr>
												<td colspan="4" align="center"><a href="javascript:void(0);" class="btn btn-primary js-add-save">新&nbsp;&nbsp;建</a></td>
											</tr>
										</table>
									</form>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="orgselectdiv"></div>
	<div id="attachselect"></div>
</body>
<%include("../../../resapi/sysjs.html"){}%>
<script type="text/javascript">
var inquiryId = "${parameter.inquiryId}";
</script>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-editable.min.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-zh-CN.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/assets/js/select2/select2.js"></script>
<script type="text/javascript" src="/assets/js/editors/summernote/summernote.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/erp/erp.js"></script>
<script type="text/javascript" src="/gobal/js/page/crm/quotation.js"></script>
</body>
</html>